package com.zhu.service.cms.FeignService.FallBack;

import com.zhu.commons.utils.R;
import com.zhu.service.cms.FeignService.AliyunFeign;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

@Component
public class AliyunFallBack implements AliyunFeign {
    @Override
    public R upload(MultipartFile file) {
        return R.error().message("error");
    }

    @Override
    public R DeleteFile(String fileName) {
        return R.error().message("error");
    }
}
